﻿<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="true" CodeBehind="SubActivistInvestigate.aspx.cs" Inherits="JoinParty.admin.FlowStep.SubActivistInvestigate" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <title></title>
    <style type="text/css">
        .edit-content-table input {
            width: 99%;
        }

        .edit-content-table select {
            width: 99%;
        }

        .edit-content-table th {
            text-align: center;
            background-color: #F4F5FB;
        }

        .edit-content-table td {
            word-wrap: break-word;
            word-break: normal;
            background-color: #F4F5FB;
        }

        .TilteHeader {
            font-size: 14px;
            font-weight: bold;
            padding: 5px 0;
        }

        #TaContacts {
            width: 100%;
            background-color: #CCC;
        }

            #TaContacts th {
                text-align: center;
                height: 20px;
                line-height: 20px;
            }

            #TaContacts td {
                background-color: white;
                height: 20px;
                line-height: 20px;
                padding-left: 2px;
            }

        .auto-style1 {
            width: 59px;
        }

        .newtable {
            /*border-collapse: collapse;*/ /* 关键属性：合并表格内外边框(其实表格边框有2px，外面1px，里面还有1px哦) */
            /*border: solid #999;*/ /* 设置边框属性；样式(solid=实线)、颜色(#999=灰) */
            /*border-width: 1px 1px 1px 1px;*/ /* 设置边框状粗细：上 右 下 左 = 对应：1px 0 0 1px */
            width: 100%;
        }

            .newtable tr {
                /*border: solid #999;*/ /* 设置边框属性；样式(solid=实线)、颜色(#999=灰) */
                /*border-width: 1px 0px 0px 1px;*/ /* 设置边框状粗细：上 右 下 左 = 对应：1px 0 0 1px */
            }

            .newtable td {
                /*border: solid #999;*/ /* 设置边框属性；样式(solid=实线)、颜色(#999=灰) */
                /*border-width: 1px 1px 1px 1px;*/ /* 设置边框状粗细：上 右 下 左 = 对应：1px 0 0 1px */
            }

            .newtable tr td:nth-child(odd) {
                width: 120px;
                text-align: center;
            }

            .newtable tr td:nth-child(even) {
                width: 160px;
                text-align: left;
            }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <asp:HiddenField ID="hdfActivistsID" runat="server" />
        <f:PageManager ID="PageManager1" runat="server" />
        <f:ContentPanel ID="cPanel" runat="server" ShowBorder="false" ShowHeader="false" BodyPadding="5px">
            <table border="0" cellpadding="1" cellspacing="1" class="edit-content-table" width="100%">
                <tr>
                    <th colspan="2" style="width: 80px;">工作指引：</th>
                    <td colspan="7">
                        <f:Label ID="lbWorkGuide" runat="server" EncodeText="false"></f:Label>
                </tr>
                <tr>
                    <th colspan="9" style="text-align: center; font-size: 16px; font-weight: bold;">入党积极分子考察表</th>
                </tr>
                <tr style="display: none">
                    <th rowspan="2">姓名</th>
                    <th style="text-align: right;">现名</th>
                    <td class="auto-style1"></td>
                    <th style="text-align: right;">性别</th>
                    <td></td>
                    <th style="text-align: right;">出生年月</th>
                    <td></td>
                    <th style="width: 60px; text-align: right;">文化程度</th>
                    <td></td>
                </tr>
                <tr style="display: none">
                    <th style="text-align: right;">曾用名</th>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtFormerName" runat="server" Width="60px" MaxLength="500"></asp:TextBox>
                    </td>
                    <th style="text-align: right;">民族</th>
                    <td></td>
                    <th style="text-align: right;">入团时间</th>
                    <td colspan="3">
                        <f:DatePicker ID="dpJoinTheYouthLeagueTime" runat="server" DateFormatString="yyyy-MM" Width="120px"></f:DatePicker>
                    </td>
                </tr>
                <tr style="display: none">
                    <th colspan="2" style="text-align: right;">家庭出身</th>
                    <td class="auto-style1">
                        <asp:TextBox ID="txtFamilyOrigin" runat="server" Width="60px" MaxLength="500"></asp:TextBox>
                    </td>
                    <th style="text-align: right;">本人成分</th>
                    <td>
                        <asp:TextBox ID="txtPersonalConstituent" runat="server" Width="50px" MaxLength="500"></asp:TextBox>
                    </td>
                    <th style="text-align: right;">参加工作时间</th>
                    <td colspan="3">
                        <f:DatePicker ID="dpWorkTime" runat="server" DateFormatString="yyyy-MM" Width="120px"></f:DatePicker>
                    </td>
                </tr>
                <tr style="display: none">
                    <th colspan="2" style="text-align: right;">籍贯</th>
                    <td colspan="3"></td>
                    <th style="text-align: right;">现任职务</th>
                    <td colspan="3"></td>
                </tr>
                <tr style="display: none">
                    <th colspan="2" style="width: 100px; text-align: left;">家庭主要成员姓名、年龄、职业、政治面貌</th>
                    <td colspan="7">
                        <asp:TextBox ID="txtFamily" runat="server" TextMode="MultiLine" MaxLength="5000" Height="100px" Width="100%"></asp:TextBox>
                    </td>
                </tr>
                <tr style="display: none">
                    <th colspan="2" style="width: 100px; text-align: left;">主要社会关系姓名、年龄、职业、政治面貌</th>
                    <td colspan="7">
                        <asp:TextBox ID="txtSociology" runat="server" TextMode="MultiLine" MaxLength="5000" Height="100px" Width="100%"></asp:TextBox>
                    </td>
                </tr>
                <tr style="display: none">
                    <th colspan="2" style="width: 100px; text-align: left;">何时何地何原因受过何种奖励或处分</th>
                    <td colspan="7">
                        <asp:TextBox ID="txtWhereAndWhereReward" runat="server" TextMode="MultiLine" MaxLength="5000" Height="100px" Width="100%"></asp:TextBox>
                    </td>
                </tr>
                <tr style="display: none">
                    <th colspan="2" style="width: 100px; text-align: left;">何时何地参加何种民主党派、任何职务</th>
                    <td colspan="7">
                        <asp:TextBox ID="txtWhereAndWhereParty" runat="server" TextMode="MultiLine" MaxLength="5000" Height="100px" Width="100%"></asp:TextBox>
                    </td>
                </tr>
                <tr style="display: none">
                    <th colspan="9" style="text-align: center;" class="TilteHeader">“文化大革命”和1989年政治风波中的表现</th>
                </tr>
                <tr style="display: none">
                    <td colspan="9">
                        <asp:TextBox ID="txtCulturalRevolution" runat="server" TextMode="MultiLine" MaxLength="5000" Height="100px" Width="100%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="9">
                        <table class="newtable">
                            <tr>
                                <td colspan="4">
                                    <table>
                                        <tr>
                                            <td>姓  名</td>
                                            <td>
                                                <asp:TextBox ID="txtUserName" Width="99%" runat="server" Enabled="false"></asp:TextBox></td>
                                            <td>性  别</td>
                                            <td>
                                                <asp:DropDownList ID="ddlGender" runat="server" Enabled="false" Width="99%">
                                                    <asp:ListItem Value="0" Text="男" Selected="True"></asp:ListItem>
                                                    <asp:ListItem Value="1" Text="女"></asp:ListItem>
                                                </asp:DropDownList></td>
                                            <td rowspan="4">
                                                <f:Image ID="imgPhoto" ImageUrl="~/Content/icon/blank1.png" ImageWidth="120px" ImageHeight="150px" runat="server">
                                                </f:Image>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>民  族</td>
                                            <td>
                                                <asp:TextBox ID="txtNation" runat="server" Enabled="false" Width="99%"></asp:TextBox></td>
                                            <td>出生年月</td>
                                            <td>
                                                <f:DatePicker ID="dpBirthday" runat="server" DateFormatString="yyyy-MM" Enabled="false" Width="99%"></f:DatePicker>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>籍  贯</td>
                                            <td>
                                                <asp:TextBox ID="txtNativePlace" runat="server" Enabled="false" Width="99%" Height="80%"></asp:TextBox></td>
                                            <td>出生地</td>
                                            <td>
                                                <asp:TextBox ID="txtBirthplace" runat="server" Width="99%" Height="80%"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>学  历</td>
                                            <td>
                                                <asp:DropDownList ID="ddlEducation" runat="server" Enabled="false" Width="99%" Height="80%">
                                                    <asp:ListItem Value="大专以下" Text="大专以下"></asp:ListItem>
                                                    <asp:ListItem Value="大专" Text="大专"></asp:ListItem>
                                                    <asp:ListItem Value="本科" Text="本科" Selected="True"></asp:ListItem>
                                                    <asp:ListItem Value="硕士" Text="硕士"></asp:ListItem>
                                                    <asp:ListItem Value="博士" Text="博士"></asp:ListItem>
                                                </asp:DropDownList></td>
                                            <td>学位或职称</td>
                                            <td>
                                                <asp:TextBox ID="txtTitle" runat="server" Width="99%"></asp:TextBox></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>单位、职务或职业</td>
                                <td>
                                    <asp:TextBox ID="txtPresentOccupation" runat="server" MaxLength="500" Width="99%"></asp:TextBox></td>
                                <td>递交申请书时间</td>
                                <td>
                                    <f:DatePicker ID="dpApplyTime" runat="server" DateFormatString="yyyy-MM-dd" Width="99%" Enabled="false"></f:DatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td>现	居	住	地</td>
                                <td>
                                    <asp:TextBox ID="txtAdress" runat="server" MaxLength="500" Width="99%"></asp:TextBox></td>
                                <td>作为培养对象时间</td>
                                <td>
                                    <f:DatePicker ID="dpCultureTime" runat="server" DateFormatString="yyyy-MM-dd"></f:DatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td>有	何	专	长</td>
                                <td>
                                    <asp:TextBox ID="txtExpertise" runat="server" MaxLength="500" Width="99%"></asp:TextBox></td>
                                <td>培	养	人</td>
                                <td>
                                    <asp:TextBox ID="txtCulturePeople" runat="server" MaxLength="500" Width="99%"></asp:TextBox></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <th colspan="9" style="text-align: center;" class="TilteHeader">本人经历(包括学习经历)</th>
                </tr>
                <tr>
                    <td colspan="9">
                        <table border="0" cellpadding="2" cellspacing="2" style="width: 100%;">
                            <tr>
                                <th style="width: 15%;">自何年月</th>
                                <th style="width: 15%;">至何年月</th>
                                <th style="width: 45%;">在何地、何部门任何职</th>
                                <th style="width: 15%;">证明人</th>
                            </tr>
                            <asp:Repeater ID="rptResumeData" runat="server">
                                <ItemTemplate>
                                    <tr>
                                        <td>
                                            <asp:TextBox ID="txtStartTime" runat="server" Width="98%" Text='<%#Eval("StartTime") %>'
                                                MaxLength="500"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtEndTime" runat="server" Width="98%" Text='<%#Eval("EndTime") %>'
                                                MaxLength="500"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtWhere" runat="server" Width="98%" Text='<%#Eval("Where") %>'
                                                MaxLength="500"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtWitness" runat="server" Width="98%" Text='<%#Eval("Witness") %>'
                                                MaxLength="500"></asp:TextBox>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </td>
                </tr>
                <tr style="display: none">
                    <td colspan="9">
                        <table border="0" cellpadding="2" cellspacing="2" style="width: 100%;">
                            <tr>
                                <th class="TilteHeader">提出入党申请的时间</th>
                                <td></td>
                                <th class="TilteHeader">党组织确定为入党积极分子的时间</th>
                                <td>
                                    <f:DatePicker ID="dpConfirmActivistsTime" runat="server" DateFormatString="yyyy-MM-dd" Width="120px"></f:DatePicker>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr id="TrContacts" runat="server" style="display: none">
                    <td colspan="9">
                        <table id="TaContacts" border="0" cellpadding="1" cellspacing="1" style="width: 100%;">
                            <tr>
                                <th rowspan="2" id="TDCultivatingContacts" runat="server" style="width: 2%;">培养联系人</th>
                                <th rowspan="2" style="width: 20%;">姓名</th>
                                <th colspan="2">现任职务</th>
                                <th rowspan="2" style="width: 10%;">党龄</th>
                                <th rowspan="2" style="width: 30%;">何时起负责培养</th>
                            </tr>
                            <tr>
                                <th>党内</th>
                                <th>行政</th>
                            </tr>
                            <asp:Repeater ID="rptContactData" runat="server">
                                <ItemTemplate>
                                    <tr>
                                        <td><%#Eval("UserName") %></td>
                                        <td><%#Eval("InParty") %></td>
                                        <td><%#Eval("Administration") %></td>
                                        <td><%#Eval("PartyStanding") %></td>
                                        <td><%#string.Format("{0:yyyy-MM-dd}",Eval("ContactTime")) %></td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </td>
                </tr>
            </table>
        </f:ContentPanel>
        <f:Panel ID="fpanel" runat="server" ShowBorder="false" ShowHeader="false">
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose" OnClick="btnSaveClose_Click"
                            runat="server" Text="保存并关闭">
                        </f:Button>
                        <f:Button ID="btnSubmit" runat="server" CssClass="marginr" OnClick="btnSubmit_Click" Icon="Tick"
                            Text="提交">
                        </f:Button>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                            Text="关闭">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Panel>
        <f:Window ID="WSetpThree" Title="编辑" Hidden="true" EnableIFrame="true" runat="server"
            EnableMaximize="true" EnableResize="true" Target="Top" IsModal="True" Width="750px"
            Height="450px">
        </f:Window>
    </form>
</body>
</html>

<script>
    function ReDoLayout() {

        var panel1ClientID = '<%= cPanel.ClientID %>';

        F.ready(function () {
            document.getElementById("cPanel_dpBirthday-inputCell").style.width = "130px";
            document.getElementById("cPanel_dpBirthday-inputEl").style.opacity = "99";
            document.getElementById("cPanel_dpApplyTime-inputCell").style.width = "185px";
            document.getElementById("cPanel_dpApplyTime-inputEl").style.opacity = "99";

            window.setTimeout(function () {

                F(panel1ClientID).doLayout();
            }, 100);

        });
    }

    ReDoLayout();
</script>
